package com.lyw.forum.pojo.request;

import jakarta.validation.constraints.NotNull;
import lombok.Data;


@Data
public class MessageCreateRequest {
    private Integer postUserId;
    @NotNull(message = "接收用户id不能为空")
    private Integer receiveUserId;
    @NotNull(message = "内容不能为空")
    private String content;
}
